06. Exercise: Create the MyCanvasView Class
22 05 AAK Create MyCanvasView SC
Exercise
In this exercise you are going to create the MyCanvasView class.
In the
app/java/com.example.android.minipaintpackage, create a New > Kotlin File/Class calledMyCanvasView.Make the
MyCanvasViewclass extend theViewclass and pass in thecontext: Context. Accept the suggested imports.
import android.content.Context
import android.view.View
class MyCanvasView(context: Context) : View(context) {
}